import { Outlet, useNavigate } from "react-router-dom"
export default () => {
  const navigate = useNavigate()
  return (
    <div>
      <div onClick={()=> {navigate('/layout/react/reduxuse/home')}}>home</div>
      <div onClick={()=> {navigate('/layout/react/reduxuse/cart')}}>cart</div>
      <Outlet></Outlet>
    </div>
  )
}